package com.shcz.migu.resp.result;

import com.shcz.migu.resp.base.ResponseInfo;
import com.shcz.migu.resp.bean.SessionBean;
import com.shcz.migu.resp.bean.UserBean;

/**
 * Created by yons on 2017/2/27.
 */

public class LoginResp extends ResponseInfo {


    /**
     * result : {"session":{"expire":"2017-02-28T17:03:19.572Z","id":"86f64009397747709da11ac3ba4ae51fjzq1pPh4JJ4HZ3t3v3eGdptqzc88gvxB","userId":71},"user":{"avatar":"http://sandbox.s1.cyjx.com/u/avatar/2017/2/11/589f083eddbe933e02b5fff445eqK5KeJF","coin":0,"createdAt":"2017-01-07T08:12:34.472Z","gender":2,"honor":{"grade":1,"growth":2402,"upgradeGrowth":598},"id":71,"mobile":"86-18502115795","name":"纪先","nick":"Jesse","point":2402,"vip":1}}
     */

    private ResultBean result;

    public ResultBean getResult() {
        return result;
    }

    public void setResult(ResultBean result) {
        this.result = result;
    }

    public static class ResultBean {
        /**
         * session : {"expire":"2017-02-28T17:03:19.572Z","id":"86f64009397747709da11ac3ba4ae51fjzq1pPh4JJ4HZ3t3v3eGdptqzc88gvxB","userId":71}
         * user : {"avatar":"http://sandbox.s1.cyjx.com/u/avatar/2017/2/11/589f083eddbe933e02b5fff445eqK5KeJF","coin":0,"createdAt":"2017-01-07T08:12:34.472Z","gender":2,"honor":{"grade":1,"growth":2402,"upgradeGrowth":598},"id":71,"mobile":"86-18502115795","name":"纪先","nick":"Jesse","point":2402,"vip":1}
         */

        private SessionBean session;
        private UserBean user;

        public SessionBean getSession() {
            return session;
        }

        public void setSession(SessionBean session) {
            this.session = session;
        }

        public UserBean getUser() {
            return user;
        }

        public void setUser(UserBean user) {
            this.user = user;
        }


    }
}
